package month4.day18;

import java.util.Scanner;

public class S1 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        String s1=in.next();
        System.out.println(s1.replaceAll("\\D",""));
    }
}
